package com.dhx.pojo;

import java.util.Date;

public class LeaveStudent {
    private String name;
    private String no;
    private String major;
    private String sex;
    private String level;
    private int age;
    private Date date;
    private String school;

    public LeaveStudent(String name, String no, String major, String sex, String level, int age, Date date, String school) {
        this.name = name;
        this.no = no;
        this.major = major;
        this.sex = sex;
        this.level = level;
        this.age = age;
        this.date = date;
        this.school = school;
    }

    public LeaveStudent() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    @Override
    public String toString() {
        return "LeaveStudent{" +
                "name='" + name + '\'' +
                ", no='" + no + '\'' +
                ", major='" + major + '\'' +
                ", sex='" + sex + '\'' +
                ", level='" + level + '\'' +
                ", age=" + age +
                ", date=" + date +
                ", school='" + school + '\'' +
                '}';
    }
}
